]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
lint: Only require jsdoc for exported functions
authorEvan Welsh <contact@evanwelsh.com>
Sun, 30 Jul 2023 08:33:14 +0000 (11:33 +0300)
committerFlorian Müllner <fmuellner@gnome.org>
Sat, 5 Aug 2023 20:16:23 +0000 (22:16 +0200)
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1499>

lint/eslintrc-shell.yml

index 697af8189e965e06564226c49ff6c627fd558a4e..155474b74b7008956b7ded7af251bcbb58f1ff8e 100644 (file)
@@ -14,6 +14,11 @@ rules:
       afterColon: true
   prefer-arrow-callback: error
   jsdoc/require-param-description: off
+  jsdoc/require-jsdoc:
+    - error
+    - exemptEmptyFunctions: true
+      publicOnly:
+        esm: true
 
 overrides:
   - files: